package com.qqtech.qquan.activity.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class ActivityBase extends BaseDomain{

	//columns START
	/**是否推荐:1-是 2-否**/
	private java.lang.Integer isRecommend;
	/**推荐时间**/
	private java.sql.Timestamp recommendAt;	
	/**推荐排序位,越小越排在前面**/
	private java.lang.Integer recommendOidx;
    /** 类型activityTypeEnum:1-社区;2-圈子; */
	private Integer type;
    /** 对应的业务ID */
	private java.lang.Integer bizzId;
    /** 创建者Id */
	private java.lang.Integer creatorId;
    /** 名称 */
	private java.lang.String name;
    /** 介绍 */
	private java.lang.String resume;
    /** 介绍图片,多个图片以;分开 */
	private java.lang.String resumeImg;
    /** 海报图片路径 */
	private java.lang.String logo;
    /** 开始时间 */
	private java.sql.Timestamp startAt;
    /** 结束时间 */
	private java.sql.Timestamp endAt;
    /** 报名截止时间 */
	private java.sql.Timestamp signEndAt;
    /** 明细地址，如梅华路105号多丽科技楼301 */
	private java.lang.String address;
    /** 经度 */
	private BigDecimal x;
    /** 纬度 */
	private BigDecimal y;
    /** 状态activityStatusEnum:1-准备报名;2-报名中;3-进行中;4-已结束;5-已失效 */
	private Integer status;
    /** 是否显示:1-是;2-否 */
	private java.lang.Integer isShow;
    /** 浏览量 */
	private java.lang.Integer pv;
    /** 费用类型:1-线下支付;2-免费;3-线上人均 */
	private java.lang.Integer costType;
    /** 费用 */
	private BigDecimal cost;
	/** 活动发布人社区id **/
	private Integer communityId;
	//columns END
	public ActivityBase(){
	}
	
	public Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Integer communityId) {
		this.communityId = communityId;
	}

	public java.lang.Integer getIsRecommend() {
		return isRecommend;
	}

	public void setIsRecommend(java.lang.Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public java.sql.Timestamp getRecommendAt() {
		return recommendAt;
	}

	public void setRecommendAt(java.sql.Timestamp recommendAt) {
		this.recommendAt = recommendAt;
	}

	public java.lang.Integer getRecommendOidx() {
		return recommendOidx;
	}

	public void setRecommendOidx(java.lang.Integer recommendOidx) {
		this.recommendOidx = recommendOidx;
	}

	public ActivityBase( java.lang.Integer id ){
		this.id = id;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getType() {
		return this.type;
	}
	
	public void setBizzId(java.lang.Integer bizzId) {
		this.bizzId = bizzId;
	}

	public java.lang.Integer getBizzId() {
		return this.bizzId;
	}
	
	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setResume(java.lang.String resume) {
		this.resume = resume;
	}

	public java.lang.String getResume() {
		return this.resume;
	}
	
	public void setResumeImg(java.lang.String resumeImg) {
		this.resumeImg = resumeImg;
	}

	public java.lang.String getResumeImg() {
		return this.resumeImg;
	}
	
	public void setLogo(java.lang.String logo) {
		this.logo = logo;
	}

	public java.lang.String getLogo() {
		return this.logo;
	}
	
	public void setStartAt(java.sql.Timestamp startAt) {
		this.startAt = startAt;
	}

	public java.sql.Timestamp getStartAt() {
		return this.startAt;
	}
	
	public void setEndAt(java.sql.Timestamp endAt) {
		this.endAt = endAt;
	}

	public java.sql.Timestamp getEndAt() {
		return this.endAt;
	}
	
	public void setSignEndAt(java.sql.Timestamp signEndAt) {
		this.signEndAt = signEndAt;
	}

	public java.sql.Timestamp getSignEndAt() {
		return this.signEndAt;
	}
	
	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public java.lang.String getAddress() {
		return this.address;
	}
	
	public void setX(BigDecimal x) {
		this.x = x;
	}

	public BigDecimal getX() {
		return this.x;
	}
	
	public void setY(BigDecimal y) {
		this.y = y;
	}

	public BigDecimal getY() {
		return this.y;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return this.status;
	}
	
	public void setIsShow(java.lang.Integer isShow) {
		this.isShow = isShow;
	}

	public java.lang.Integer getIsShow() {
		return this.isShow;
	}
	
	public void setPv(java.lang.Integer pv) {
		this.pv = pv;
	}

	public java.lang.Integer getPv() {
		return this.pv;
	}
	
	public void setCostType(java.lang.Integer costType) {
		this.costType = costType;
	}

	public java.lang.Integer getCostType() {
		return this.costType;
	}
	
	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}

	public BigDecimal getCost() {
		return this.cost;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

